﻿@using CleanArchitecture.Infrastructure.Models.SystemManage
@model List<SystemDataDicButtonModel>
@foreach (var button in Model)
{
    <button class="@button.ButtonClass" data-type="@button.EventName" type="button" data-buttonid="@button.Id">
        @if (string.IsNullOrEmpty(button.IconCssClass))
        {
            <i class="layui-icon">&#xe608;</i>
        }
        else
        {
            <i class="@button.IconCssClass"></i>
        }
        @button.DisplayName
    </button>
}